﻿<!DOCTYPE html>
<html>
<head>
   <title>Configuration File Update</title>
   <meta name="generator" content="Help & Manual">
   <meta name="keywords" content="">
   <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
   <link type="text/css" href="default.css" rel="stylesheet">
   <link type="text/css" href="custom.css" rel="stylesheet">
   <script type="text/javascript" src="nsh.js"></script>
   
<!-- non-scrolling headers for CHM and browser-based help, local styles-->
<style TYPE="text/css" media="screen"> 
   <!-- 
   body {    
      margin:0; 
      padding:0; 
      overflow: auto; 
      background: #edede9; 
   } 
   #idheader { 
      width:100%; 
      height:auto; 
      padding: 0; 
      margin: 0;     
} 
    #idheaderbg  {
    background: #E40A00; 
}
#idheadernowrap  {
    white-space:nowrap; 
}
    ul {list-style-type: lower-roman}
   -->
   </style>
   
<style TYPE="text/css" MEDIA="print">
<!--
/* Hide navigation links and add space between header
     and text in the printed version. Not valid for eBooks. */
#idnav { display:none;	 }
.topichead { padding: 5px 5px 20px 5px; }
-->
</style>   
   <script type="text/javascript" src="jquery.js"></script>
   <script type="text/javascript" src="helpman_settings.js"></script>
   <script type="text/javascript" src="helpman_topicinit.js"></script>

   <script type="text/javascript">
     HMSyncTOC("index.html", "drvsim_rn_configuration-file-update.htm");
   </script>
   <script type="text/javascript" src="highlight.js"></script>
   <script type="text/javascript">
     $(document).ready(function(){highlight();});
   </script>
</head>
<body>

<!--ZOOMSTOP-->

<div id="idheader" >
<div id="idheaderbg">
<table width="100%" border="0" cellspacing="0" cellpadding="0" 
       style="margin: 0px; color: #D7D7D7;">

  <tr valign="middle">
    <td align="left" valign="middle" class="topichead">
    <!--<div id="idheadernowrap">-->
    <p class="crumbs" id="idnav"><b>Navigation:</b>&nbsp;
   
   <a href="drvsim_rn_release_notes.htm">Release Notes</a> &gt; Upgrade Procedure&nbsp;&gt;</p>
      <h1 class="p_Heading1" style="page-break-after: avoid;"><span class="f_Heading1">Configuration File Update</span></h1>

    <!--</div>-->
    </td>
    <td align="right" width="180" valign="middle" class="topichead" id="idnav">
    <div id="idheadernowrap">
    <a href="javascript: print();"
    		onmouseover="document.images.prntr.src='print_a.png'" 
        onmouseout="document.images.prntr.src='print_n.png'"
        ><img name="prntr" border="0" alt="Print this Topic" title="Print this Topic" src="print_n.png"
        ></a>&nbsp;&nbsp;
     <a href="drvsim_rn_kollmorgen-firmware-upgrade-pr.htm"
        onmouseover="document.images.prev.src='back_a.png'" 
        onmouseout="document.images.prev.src='back_n.png'"
        ><img name=prev src="back_n.png" border=0 alt="Previous page"
        ></a><a href="drvsim_rn_release_notes.htm"
        onmouseover="document.images.main.src='top_a.png'" 
        onmouseout="document.images.main.src='top_n.png'"><img name=main src="top_n.png" border=0 alt="Return to chapter overview"
        ></a><a href="drvsim_rn_rtdb-channels.htm"
        onmouseover="document.images.next.src='next_a.png'" 
        onmouseout="document.images.next.src='next_n.png'"><img name=next src="next_n.png" border=0 alt="Next page"
        ></a>
    </div>
    </td>
  </tr>
</table>
</div>

<!-- The following code displays Expand All/Collapse All links  below the header in topics containing toggles -->
  

</div>  



<div id="idcontent"><div id="innerdiv"> 
<!--ZOOMRESTART-->
<p class="p_Normal">With VI-DriveSim 19 a script to update the vidrvsim_conf file is provided; in this release in fact, some channels have different names respect to previous versions, and new parameters need to be set in the environment file, especially for the iodb_elab.</p>
<p class="p_Normal">&nbsp;</p>
<p class="p_Normal">The script is delivered by VI-grade, and can be found in <span class="f_CodeOnNormal">/vigrade/vicrt/standalone/scripts/</span><span style="font-weight: bold;"> </span>folder, on the Concurrent machine.</p>
<p class="p_Normal">&nbsp;</p>
<p class="p_Normal">To run it, open a terminal in that folder, and run</p>
<p class="p_Normal">&nbsp;</p>
<p class="p_CodeOnNormal" style="page-break-inside: avoid;"><span class="f_CodeOnNormal">./vidrivesim_conf_update.py&nbsp;input_file&nbsp;output_file</span></p>
<p class="p_CodeOnNormal" style="page-break-inside: avoid;"><span class="f_CodeOnNormal">&nbsp;</span></p>
<p class="p_Normal">where:</p>
<p class="p_Normal"><span style="font-style: italic;">input_file</span> is the vidrivesim_conf of the version previously installed. Full path is required in case the input file is not in the same folder of the script (i.e /usr/local/ccursim/projects/ENV/vidrivesim_conf).</p>
<p class="p_Normal"><span style="font-style: italic;">output_file</span> is the vidrivesim_conf that will be created, compatible with VI-DriveSim 19. Full path is required in order to save the output file in a specific path.</p>
<p class="p_Normal">&nbsp;</p>
<p class="p_Normal">After pressing enter, some settings need to be specified in order to properly configure the final file. The script itself will guide you during the process. An example is shown in the image below.</p>
<p class="p_Normal">&nbsp;</p>
<p class="p_Normal" style="text-align: center;"><img alt="drvsim_conf_update" width="964" height="379" style="margin:0px auto 0px auto;width:964px;height:379px;border:none" src="drvsim_conf_update.png"/></p>
<p class="p_Normal">&nbsp;</p>
<p class="p_Normal">&nbsp;</p>
<p class="p_Normal"><span style="font-weight: bold; text-decoration: underline;">At the end of the Upgrade Procedure, a new RTDB must be created to be able to drive again on the Simulator; in fact, new channels have been added, and the new VI-CarRealTime solver will need the latest RTDB. To mantain a backup of the previous files, it is suggested to create a new Project in SimWB, and then a new RTDB/Test etc. To create a new Project, please refer to the corresponding <a href="drvsim_inst_creating-a-project-with-prod_n.htm" class="topiclink">chapter</a>.</span></p>

<!--ZOOMSTOP-->
</div></div>
<script type="text/javascript"> 
<!-- 
var lastSlashPos = document.URL.lastIndexOf("/") >
document.URL.lastIndexOf("\\") ? document.URL.lastIndexOf("/") :
document.URL.lastIndexOf("\\");
if( document.URL.substring( lastSlashPos + 1, lastSlashPos + 4
).toLowerCase() != "~hh" )
{
    nsrInit();
}
--> 
</script> 
</body>
</html>
